import request from "@/utils/request"
// 查询设备列表接口
export function queryPageDevice(data) {
    return request({
        url: "/deviceSet/queryPageDevice",
        method: "get",
        params: data
    })
}
// 查询设备数据看板配置接口
export function queryDeviceQJDashboard(data) {
    return request({
        url: "/deviceAllSet/queryDeviceQJDashboard",
        method: "get",
        params: data
    })
}

// 配置设备的数据看板
export function updateDeviceQJDashboard(data) {
    return request({
        url: "/deviceAllSet/updateDeviceQJDashboard",
        method: "post",
        data
    })
}

// 取消配置设备的数据看板
export function deleteQjDasPartOne(data) {
  return request({
    url: "/deviceAllSet/deleteQjDasPartOne",
    method: "post",
    data
  })
}
